Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak when using async expectations. Closes #405 #449

Merged
merged 1 commit into from
Jul 18, 2017

Conversation

ryanfitz
Copy link
Contributor

  • What behavior was changed?
  • What code was refactored / updated to support this change?
  • What issues are related to this PR? Or why was this change introduced?

Checklist - While not every PR needs it, new features should consider this list:

  • Does this have tests?
  • Does this have documentation?
  • Does this break the public API (Requires major version bump)?
  • Is this a new feature (Requires minor version bump)?

@@ -217,4 +218,28 @@ final class AsyncTest: XCTestCase, XCTestCaseProvider {
expect(executedAsyncBlock).toEventually(beTruthy())
#endif
}

func testSubjectUnderTestIsReleasedFromMemory() {
final class ClassUnderTest {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nesting Violation: Types should be nested at most 1 level deep (nesting)

@jeffh jeffh added this to the v7.0.2 (Next Release) milestone Jul 18, 2017
@jeffh jeffh merged commit 1aa5cb5 into Quick:master Jul 18, 2017
@jeffh
Copy link
Member

jeffh commented Jul 18, 2017

Thanks @ryanfitz! (I've modified the test to avoid linting failures.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants